package cn.stylefeng.guns.modular.tao.controller;

import cn.stylefeng.guns.modular.tao.service.BackstageMemberService;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/back")
public class BackstageMemberController {
    @Autowired
    private BackstageMemberService backstageMemberService;

    /**
     * 后台查询会员
     */
    @RequestMapping("/getMemberBycondition")
    public ResponseData getMemberBycondition(String condtion) {
        ResponseData data = backstageMemberService.getMemberBycondition(condtion);
        return data;
    }

    /**
     *
     */
}
